package com.ruoyi.web.controller.wnjk.app.shop;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.system.wnjk.domain.po.ShopLogisticsDetails;
import com.ruoyi.system.wnjk.service.IShopLogisticsDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 订单物流详情Controller
 *
 * @author ruoyi
 * @date 2025-03-05
 */
@RestController
@RequestMapping("/app/shop/logistics")
public class AppShopLogisticsDetailsController extends BaseController
{
    @Autowired
    private IShopLogisticsDetailsService shopLogisticsDetailsService;


    @GetMapping("/details/{id}")
    public AjaxResult getLogisticsDetailsById(@PathVariable("id")Long id){
        return success(shopLogisticsDetailsService.getLogisticsDetailsById(id));
//        return success();
    }

}
